<!--
 * @Author: your name
 * @Date: 2020-02-25 13:32:39
 * @LastEditTime: 2020-03-23 14:14:47
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \福路德扫码系统\html\cksm.html
 -->
<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport"
        content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0,viewport-fit=cover" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>Hello APP</title>
    <link rel="stylesheet" type="text/css" href="../css/vant.css">
    <link rel="stylesheet" type="text/css" href="../css/base.css" />
    <link rel="stylesheet" type="text/css" href="../css/local.css" />
    <script type="text/javascript" src="../script/jquery.js"></script>
    <script type="text/javascript" src="../script/layer/mobile/layer.js"></script>
    <script type="text/javascript" src="../script/vue.min.js"></script>
    <script type="text/javascript" src="../script/vant.min.js"></script>
    <script type="text/javascript" src="../script/fastclick.js"></script>
    <script type="text/javascript" src="../script/base.js"></script>
    <script type="text/javascript" src="../script/scanTransf.js"></script>
    <style type="text/css">
        .van-cell {
            padding: 10px 8px 10px 12px;
        }

        .form .van-cell__title {
            max-width: 70px;
            color: #969799;
        }

        .form .van-cell__value {
            text-align: left;
        }

        .van-field__label {
            width: 70px;
            color: #969799;
        }

        .van-cell::after {
            position: absolute;
            box-sizing: border-box;
            content: ' ';
            pointer-events: none;
            right: 8px;
            bottom: 0;
            left: 12px;
            border-bottom: 1px solid #ebedf0;
            -webkit-transform: scaleY(0.5);
            transform: scaleY(0.5);
        }

        .button {
            padding: 10px 0;
        }

        .row-label {
            color: #969799;
        }

        .border {
            border-top: 5px solid #f7f8fa;
        }

        .detail {
            background: #fff;
        }

        .detail-label {
            color: #fff;
            font-size: 13px;
            height: 26px;
            line-height: 23px;
            background: url(../image/left-top.png) no-repeat;
            background-size: 82px 100%;
            background-position: -3px -3px;
            position: relative;
            left: 0;
            top: -3px;
            padding-left: 6px;
            font-weight: 700;
        }

        .title{
            position: relative;
        }

        .title span {
            vertical-align: middle;
        }

        .title .tag {
            display: inline-block;
            width: 20px;
            height: 20px;
            line-height: 20px;
            text-align: center;
            color: #fff;
            background: #2fa2b9;
            border-radius: 4px;
            margin-right: 6px;
        }
    </style>
</head>

<body>
    <div id="app" v-cloak>
        <div class="box">
            <van-nav-bar-main title="待办事项明细" left-arrow @click-left="onClickLeft"></van-nav-bar-main>
            <div class="content">
                <van-row>
                    <van-col span="24">
                        <van-field value="物品归还" label="代办类型" readonly>
                        </van-field>
                    </van-col>
                    <van-col span="24">
                        <van-field value="admin" label="归还人员" readonly>
                        </van-field>
                    </van-col>
                    <van-col span="24">
                        <van-field value="备品仓库" label="归还仓库" readonly>
                        </van-field>
                    </van-col>
                    <van-col span="24">
                        <van-field value="2020-01-01" label="归还时间" readonly>
                        </van-field>
                    </van-col>
                    <van-col span="24">
                        <van-field value="2020-01-01" label="归还时间" readonly>
                        </van-field>
                    </van-col>
                </van-row>
                <div class="button"></div>
                <div class="detail">
                    <div class="detail-label">归还明细</div>
                    <div class="detail-content">
                        <van-cell>
                            <van-row>
                                <van-col span="24">
                                    <div class="title">
                                        <span class="tag">1</span>
                                        <span>54式手枪</span>
                                    </div>
                                </van-col>
                                <van-col span="24">
                                    <div><span class="row-label">领用时间：</span><span>2020-01-01</span></div>
                                </van-col>
                                <van-col span="24">
                                    <div><span class="row-label">领用数量：</span><span>2</span></div>
                                </van-col>
                                <van-col span="24">
                                    <div><span class="row-label">归还数量：</span><span>2</span></div>
                                </van-col>
                            </van-row>
                        </van-cell>
                        <van-cell>
                            <van-row>
                                <van-col span="24">
                                    <div class="title">
                                        <span class="tag">2</span>
                                        <span>54式手枪</span>
                                    </div>
                                </van-col>
                                <van-col span="24">
                                    <div><span class="row-label">领用时间：</span><span>2020-01-01</span></div>
                                </van-col>
                                <van-col span="24">
                                    <div><span class="row-label">领用数量：</span><span>2</span></div>
                                </van-col>
                                <van-col span="24">
                                    <div><span class="row-label">归还数量：</span><span>2</span></div>
                                </van-col>
                            </van-row>
                        </van-cell>
                    </div>
                </div>

            </div>
            <div class="bottom">
                <div class="left-content"></div>
                <div class="right-button">
                    <van-button color="#2fa2b9" block loading-text="提交中..." @click="toRK">去入库</van-button>
                </div>
            </div>
        </div>


    </div>
</body>
<script type="text/javascript">
    var vm;
    apiready =  function () {

        var userInfo = APP.getUserInfo();


        vm = new Vue({
            el: '#app',
            data: {
                showLoading: false
            },
            created: function () {
                var that = this;
            },
            methods: {
                toRK() {
                    var that = this;
					api.openWin({
						name: 'rk',
						url: 'module/rk.html',
						reload: true,
						slidBackEnabled: false,
						allowEdit: false
					})
                },
                onClickLeft() {
                    api.sendEvent({
                        name: 'allowScanner'
                    })
                    api.closeWin();
                }
            }
        })
    };
</script>

</html>